package com.duan.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author db
 * @version 1.0
 * @description TestController
 * @since 2024/7/11
 */
@RestController
public class TestController {

    @RequestMapping("/testMethod")
    public String testMethod(){
        return "测试方法";
    }


    @RequestMapping("/success")
    public String success(){
        return "success";
    }

    @RequestMapping("/fail")
    public String fail(){
        return "fail";
    }

    @RequestMapping("/logoutSuccess")
    public String logoutsuccess(){
        return "logoutSuccess";
    }
}
